import { createRouter, createWebHistory } from 'vue-router'
import Login from '../components/Login.vue';
import Sign from "../components/Sign.vue"
// 路由表
const routes = [
    {
        path: "/",
        name: "loginPage",
        component: Login
    },
    {
        path:"/sign",
        name:"signPage",
        component:Sign
    }
]

const router = createRouter({
    history: createWebHistory(),
    routes
})

export default router;